package grsu.epam.airline.DAO;

import grsu.epam.airline.model.Plane;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface IPlaneDAO {
	public void addPlane(Plane plane) throws SQLException;

	public void updatePlane(Plane plane) throws SQLException;

	public Plane getPlaneById(int planeId) throws SQLException;

	public void deletePlane(int planeId) throws SQLException;

	public List<Plane> getAllPlane() throws SQLException;

	public Connection getConnection();

}
